<%@ Page Language="vb" AutoEventWireup="false" CodeFile="storicoI.aspx.vb" Inherits="storicoI" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>SICOP</title><!--#Include File="../lib/calendar.asp"-->
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../style.css" type="text/css" rel="StyleSheet">
		<script language="javascript">
			
			function chiudi1(){
				self.close();  
			}
			
			function get_storico(){
				window.opener.navigate("schedaI.aspx");
				self.close();  
			}
			
		</script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<input type="hidden" id="chiudi" runat="server" NAME="chiudi"><input type="hidden" id="idStorico" runat="server" NAME="idStorico">
			&nbsp;&nbsp;
			<div align="center">
				<!-- tabella di contorno, bordo rosso -->
				<table width="500" celppadding="0" cellspacing="0" border="1" style="BORDER-RIGHT:1px; BORDER-TOP:1px; BORDER-LEFT:1px; BORDER-BOTTOM:1px"
					bordercolor="#de0029" id="tabella di contorno">
					<tr>
						<td width="100%" bgcolor="#de0029">
							<table cellSpacing="0" cellPadding="0" width="500" border="0" ID="Table1" bgcolor="#ffffff"
								style="BORDER-COLLAPSE: collapse" bordercolor="#111111">
								<tr>
									<td width="6">
										<img src="../images/x.gif" width="1" height="1"></td>
									<td width="22" style="WIDTH: 22px">
										<img src="../images/quadratino_rosso.gif" width="10" height="10"></td>
									<td width="328" height="10"><span class="titolo">Storico</span>
									</td>
									<td width="327">
										<p align="right"><span class="blu"><INPUT class="blu" id="btChiudi" style="BACKGROUND-POSITION: right center; BACKGROUND-IMAGE: url(../images/chiudi.gif); VERTICAL-ALIGN: sub; WIDTH: 67px; CURSOR: hand; BORDER-TOP-STYLE: none; BACKGROUND-REPEAT: no-repeat; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; HEIGHT: 19px; BACKGROUND-COLOR: transparent; TEXT-ALIGN: left; BORDER-BOTTOM-STYLE: none"
													onclick="chiudi1();" type="button" value="chiudi" name="btChiudi"></span></p>
									</td>
								</tr>
								<tr>
									<td colspan="4" width="100%" height="5"><img src="../images/x.gif" width="1" height="5"></td>
								</tr>
							</table>
							<table cellSpacing="0" cellPadding="0" width="500" border="0" ID="Table1" bgcolor="#ffffff"
								style="BORDER-COLLAPSE: collapse" bordercolor="#111111">
								<tr>
									<td width="100%" height="15"><img src="../images/x.gif" width="1" height="5"></td>
								</tr>
							</table>
							<TABLE width="500" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
								<TR>
									<TD width="6" valign="top"><img src="../images/x.gif" alt=""></TD>
									<TD width="488" valign="top" bgcolor="#fff8f9">
										<table borderColor="#1a49a3" cellSpacing="1" cellPadding="4" width="100%" bgColor="#ffffff"
											border="1">
											<tr>
												<td vAlign="top" align="left"><span class="nero">Data decorrenza</span><br>
													<asp:textbox id="txDataCanc" runat="server" ReadOnly="True" CssClass="nero" Width="86px"></asp:textbox><IMG height="1" src="../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataCanc,txDataCanc);" height="16" src="../images/calbutton.gif"
														width="16" border="0">
												</td>
												<td vAlign="top" align="left"><span class="nero">Motivazione</span><br>
													<asp:DropDownList id="dMotivo" runat="server" CssClass="nero" DataTextField="descrizione" DataValueField="codice"></asp:DropDownList></td>
											</tr>
											<tr>
												<td vAlign="top" align="left"><span class="nero">Numero cancellazione</span><br>
													<asp:textbox id="txNumCanc" runat="server" CssClass="nero" Width="117px"></asp:textbox>
												</td>
												<td vAlign="top" align="left"><span class="nero">Data delibera</span><br>
													<asp:textbox id="txDataDelibera" runat="server" CssClass="nero" ReadOnly="True" Width="86px"></asp:textbox><IMG height="1" src="../images/x.gif" width="5" border="0"><IMG onclick="fPopCalendar(txDataDelibera,txDataDelibera);" height="16" src="../images/calbutton.gif"
														width="16" border="0"></td>
											</tr>
											<TR>
												<td vAlign="top" align="left" colspan="2"><span class="nero">Note</span><br>
													<asp:textbox id="txMotivo" runat="server" CssClass="nero" Width="400px" TextMode="MultiLine"
														Rows="3"></asp:textbox>
												</td>
											</TR>
										</table>
										<table width="100%" bgcolor="#fff8f9">
											<tr>
												<td colspan="2" align="right">
													<asp:linkbutton id="lkSalva" CssClass="blu" Runat="server"><img src="../images/salva.gif" border="0">&nbsp;salva</asp:linkbutton></td>
											</tr>
										</table>
									</TD>
									<TD width="6" valign="top"><img src="../images/x.gif" alt=""></TD>
								</TR>
								<TR>
									<TD width="6" valign="top"><img src="../images/x.gif" alt="" height="5"></TD>
									<TD width="488" height="20" valign="top" bgcolor="#fff8f9"></TD>
									<TD width="6" valign="top"><img src="../images/x.gif" alt="" height="5"></TD>
								</TR>
							</TABLE>
						</td>
					</tr>
				</table>
			</div>
		</form>
		<script>
		if (document.Form1.chiudi.value!='')
				get_storico();
		</script>
	</body>
</HTML>
